import Vue from 'vue'
import Router from 'vue-router'
//baseInfoManage
import ClassBaseInfo from '@/components/baseInfoManage/classBaseInfo'
import ClassBaseInfoOperate from '@/components/baseInfoManage/classBaseInfoOperate'
import StudentBaseInfo from '@/components/baseInfoManage/studentBaseInfo'
import ProfessionBaseInfo from '@/components/baseInfoManage/professionBaseInfo'
import TeacherBaseInfo from '@/components/baseInfoManage/teacherBaseInfo'
import StudentPersonInfo from '@/components/baseInfoManage/studentPersonInfo'
import TeacherPersonInfo from '@/components/baseInfoManage/teacherPersonInfo'
//
import TrainProgram from '@/components/professionTrainingManagement/trainProgram'
import TrainPlanStuff from '@/components/professionTrainingManagement/trainPlanStuff'
import TrainContent from '@/components/professionTrainingManagement/trainContent'
import CollegeInit from '@/components/systemManage/collegeInit'
import TeachMaterialDBManage from '@/components/teachMaterialManage/teachMaterialDBManage'
import NewTeachMaterial from '@/components/teachMaterialManage/NewTeachMaterial'
import PublishGraduation from '@/components/graduation/PublishGraduation'
import QueryGraduation from '@/components/graduation/queryGraduation'
import UploadGraduation from '@/components/graduation/uploadGraduation'
import lookGraduation from '@/components/graduation/lookGraduation'
import selectGraduation from '@/components/graduation/selectGraduation'
import NewOrder from '@/components/teachMaterialManage/newOrder'
//person info manage
import PersonInfoManage from '@/components/personInfomanage/personInfoManage'
import ChangePassword from '@/components/personInfomanage/changePassword'
//
import teacherWork from '@/components/statisticalAnalysis/teacherWork'
import teacherWorkQuery from '@/components/statisticalAnalysis/teacherWorkQuery'
import studentInfoQuery from '@/components/statisticalAnalysis/studentInfoQuery'
import studentManage from '@/components/systemManage/studentManage'
import teacherManage from '@/components/systemManage/teacherManage'
import majorPlan from '@/components/statisticalAnalysis/majorPlan'
import teacherInfoQuery from '@/components/statisticalAnalysis/teacherInfoQuery'

//courseInfo
import TeacherCourseInfo from '@/components/courseInfo/teacherCourseInfo'
import StudentCourseInfo from '@/components/courseInfo/studentCourseInfo'
import TeachingProgramInfo from '@/components/courseInfo/teachingProgramInfo'
import NewTeachingProgram from '@/components/courseInfo/newTeachingProgram'
import CourseArrangement from '@/components/courseInfo/courseArrangement'
import CourseExamination from '@/components/courseInfo/courseExamination'
import AuditSituation from '@/components/courseInfo/auditSituation'
import CourseScheduleManage from '@/components/courseInfo/courseScheduleManage'
import NewCourseSchedule from '@/components/courseInfo/newCourseSchedule'
import TestProgramInfo from '@/components/courseInfo/testProgramInfo'
import TeachingDocumentManage from '@/components/courseInfo/teachingDocumentManage'

//courseDesignInfo
import UploadCourseDesign from '@/components/courseDesignInfo/uploadCourseDesign'
import CheckCourseDesign from '@/components/courseDesignInfo/checkCourseDesign'

Vue.use(Router)

export default new Router({
  routes: [
    //baseInfoManage
    {
      path: '/ClassBaseInfo',
      name: 'ClassBaseInfo',
      component: ClassBaseInfo
    },
    {
      path: '/ClassBaseInfoOperate',
      //path: '/ClassBaseInfoOperate/:classId',
      name: 'ClassBaseInfoOperate',
      component: ClassBaseInfoOperate
    },
    {
      path: '/StudentBaseInfo',
      name: 'StudentBaseInfo',
      component: StudentBaseInfo
    },
    {
      path: '/ProfessionBaseInfo',
      name: 'ProfessionBaseInfo',
      component: ProfessionBaseInfo
    },
    {
      path: '/TeacherBaseInfo',
      name: 'TeacherBaseInfo',
      component: TeacherBaseInfo
    },
    {
      path: '/StudentPersonInfo',
      name: 'StudentPersonInfo',
      component: StudentPersonInfo
    },
    {
      path: '/TeacherPersonInfo',
      name: 'TeacherPersonInfo',
      component: TeacherPersonInfo
    },
    //
    {
      path: '/TrainProgram',
      name: 'TrainProgram',
      component: TrainProgram
    },
    {
      path: '/TrainPlanStuff',
      name: 'TrainPlanStuff',
      component: TrainPlanStuff
    },
    {
      path: '/TrainContent',
      name: 'TrainContent',
      component: TrainContent
    },
    {
      path: '/CollegeInit',
      name: 'CollegeInit',
      component: CollegeInit
    },
    {
      path: '/TeachMaterialDBManage',
      name: 'TeachMaterialDBManage',
      component: TeachMaterialDBManage
    },
    {
      path: '/NewTeachMaterial',
      name: 'NewTeachMaterial',
      component: NewTeachMaterial
    },
    {
      path: '/PublishGraduation',
      name: 'PublishGraduation',
      component: PublishGraduation
    },
    {
      path: '/QueryGraduation',
      name: 'QueryGraduation',
      component: QueryGraduation
    },
    {
      path: '/NewOrder',
      name: 'NewOrder',
      component: NewOrder
    },
    //person info manage
    {
      path: '/PersonInfoManage',
      name: 'PersonInfoManage',
      component: PersonInfoManage
    },
    {
      path: '/ChangePassword',
      name: 'ChangePassword',
      component: ChangePassword
    },
    {
      path: '/teacherWork',
      name: 'teacherWork',
      component: teacherWork
    },
    {
      path: '/teacherWorkQuery',
      name: 'teacherWorkQuery',
      component: teacherWorkQuery
    },
    {
      path: '/studentInfoQuery',
      name: 'studentInfoQuery',
      component: studentInfoQuery
    },
    {
      path: '/studentManage',
      name: 'studentManage',
      component: studentManage
    },
    {
      path: '/teacherManage',
      name: 'teacherManage',
      component: teacherManage
    },
    //courseInfo
    {
      path: '/TeacherCourseInfo',
      name: 'TeacherCourseInfo',
      component: TeacherCourseInfo
    },
    {
      path: '/StudentCourseInfo',
      name: 'StudentCourseInfo',
      component: StudentCourseInfo
    },
    {
      path: '/TeachingProgramInfo',
      name: 'TeachingProgramInfo',
      component: TeachingProgramInfo
    },
    {
      path: '/NewTeachingProgram',
      name: 'NewTeachingProgram',
      component: NewTeachingProgram
    },
    {
      path: '/CourseArrangement',
      name: 'CourseArrangement',
      component: CourseArrangement
    },
    {
      path: '/NewCourseArrangement',
      name: 'NewCourseArrangement',
      component: NewCourseArrangement
    },
    {
      path: '/CourseExamination',
      name: 'CourseExamination',
      component: CourseExamination
    },
    {
      path: '/AuditSituation',
      name: 'AuditSituation',
      component: AuditSituation
    },
    {
      path: '/CourseScheduleManage',
      name: 'CourseScheduleManage',
      component: CourseScheduleManage
    },
    {
      path: '/NewCourseSchedule',
      name: 'NewCourseSchedule',
      component: NewCourseSchedule
    },
    {
      path: '/TestProgramInfo',
      name: 'TestProgramInfo',
      component: TestProgramInfo
    },
    {
      path: '/TeachingDocumentManage',
      name: 'TeachingDocumentManage',
      component: TeachingDocumentManage
    },
     //courseDesignInfo
    {
      path: '/UploadCourseDesign',
      name: 'UploadCourseDesign',
      component: UploadCourseDesign
    },
    {
      path: '/CheckCourseDesign',
      name: 'CheckCourseDesign',
      component: CheckCourseDesign
    },
    {
      path: '/NewCourseDesign',
      name: 'NewCourseDesign',
      component: NewCourseDesign
    },
	
    {
      path:'/majorPlan',
      name:'MajorPlan',
      component:majorPlan
    },
    {
      path:'/TeacherInfoQuery',
      name:'teacherInfoQuery',
      component:teacherInfoQuery
    },
    {
      path:'/UploadGraduation',
      name:'uploadGraduation',
      component:UploadGraduation
    },
     {
      path:'/LookGraduation',
      name:'LookGraduation',
      component:lookGraduation
    },
    {
      path:'/SelectGraduation',
      name:'SelectGraduation',
      component:selectGraduation
    }
   
  ]
})
